//
//  JSONValueTransformer+CLLocationCoordinate2D.m
//  HundPark
//
//  Created by MacBooken Rolle on 5/6/13.
//  Copyright (c) 2013 ARV IT. All rights reserved.
//

#import "JSONValueTransformer+CLLocationCoordinate2D.h"

@implementation JSONValueTransformer (CLLocationCoordinate2D)

-(CLLocationCoordinate2D)CLLocationCoordinate2DFromNSString:(NSString*) string
{
    NSArray *splitArray = [string componentsSeparatedByString:@","];
    
    CLLocationCoordinate2D coordinate = CLLocationCoordinate2DMake([splitArray[0] doubleValue],[splitArray[1] doubleValue]);
    return coordinate;
    
}
@end
